package com.hunter.sign.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SignUserExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public SignUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdIsNull() {
            addCriterion("witness_id is null");
            return (Criteria) this;
        }

        public Criteria andWitnessIdIsNotNull() {
            addCriterion("witness_id is not null");
            return (Criteria) this;
        }

        public Criteria andWitnessIdEqualTo(Long value) {
            addCriterion("witness_id =", value, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdNotEqualTo(Long value) {
            addCriterion("witness_id <>", value, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdGreaterThan(Long value) {
            addCriterion("witness_id >", value, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdGreaterThanOrEqualTo(Long value) {
            addCriterion("witness_id >=", value, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdLessThan(Long value) {
            addCriterion("witness_id <", value, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdLessThanOrEqualTo(Long value) {
            addCriterion("witness_id <=", value, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdIn(List<Long> values) {
            addCriterion("witness_id in", values, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdNotIn(List<Long> values) {
            addCriterion("witness_id not in", values, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdBetween(Long value1, Long value2) {
            addCriterion("witness_id between", value1, value2, "witnessId");
            return (Criteria) this;
        }

        public Criteria andWitnessIdNotBetween(Long value1, Long value2) {
            addCriterion("witness_id not between", value1, value2, "witnessId");
            return (Criteria) this;
        }

        public Criteria andRealnameIsNull() {
            addCriterion("realname is null");
            return (Criteria) this;
        }

        public Criteria andRealnameIsNotNull() {
            addCriterion("realname is not null");
            return (Criteria) this;
        }

        public Criteria andRealnameEqualTo(String value) {
            addCriterion("realname =", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotEqualTo(String value) {
            addCriterion("realname <>", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameGreaterThan(String value) {
            addCriterion("realname >", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameGreaterThanOrEqualTo(String value) {
            addCriterion("realname >=", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameLessThan(String value) {
            addCriterion("realname <", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameLessThanOrEqualTo(String value) {
            addCriterion("realname <=", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameLike(String value) {
            addCriterion("realname like", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotLike(String value) {
            addCriterion("realname not like", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameIn(List<String> values) {
            addCriterion("realname in", values, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotIn(List<String> values) {
            addCriterion("realname not in", values, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameBetween(String value1, String value2) {
            addCriterion("realname between", value1, value2, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotBetween(String value1, String value2) {
            addCriterion("realname not between", value1, value2, "realname");
            return (Criteria) this;
        }

        public Criteria andIdTypeIsNull() {
            addCriterion("id_type is null");
            return (Criteria) this;
        }

        public Criteria andIdTypeIsNotNull() {
            addCriterion("id_type is not null");
            return (Criteria) this;
        }

        public Criteria andIdTypeEqualTo(Integer value) {
            addCriterion("id_type =", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeNotEqualTo(Integer value) {
            addCriterion("id_type <>", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeGreaterThan(Integer value) {
            addCriterion("id_type >", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("id_type >=", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeLessThan(Integer value) {
            addCriterion("id_type <", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeLessThanOrEqualTo(Integer value) {
            addCriterion("id_type <=", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeIn(List<Integer> values) {
            addCriterion("id_type in", values, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeNotIn(List<Integer> values) {
            addCriterion("id_type not in", values, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeBetween(Integer value1, Integer value2) {
            addCriterion("id_type between", value1, value2, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("id_type not between", value1, value2, "idType");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("id_card is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("id_card is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("id_card =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("id_card <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("id_card >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("id_card >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("id_card <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("id_card <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("id_card like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("id_card not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("id_card in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("id_card not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("id_card between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("id_card not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdFrontIsNull() {
            addCriterion("id_front is null");
            return (Criteria) this;
        }

        public Criteria andIdFrontIsNotNull() {
            addCriterion("id_front is not null");
            return (Criteria) this;
        }

        public Criteria andIdFrontEqualTo(String value) {
            addCriterion("id_front =", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontNotEqualTo(String value) {
            addCriterion("id_front <>", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontGreaterThan(String value) {
            addCriterion("id_front >", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontGreaterThanOrEqualTo(String value) {
            addCriterion("id_front >=", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontLessThan(String value) {
            addCriterion("id_front <", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontLessThanOrEqualTo(String value) {
            addCriterion("id_front <=", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontLike(String value) {
            addCriterion("id_front like", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontNotLike(String value) {
            addCriterion("id_front not like", value, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontIn(List<String> values) {
            addCriterion("id_front in", values, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontNotIn(List<String> values) {
            addCriterion("id_front not in", values, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontBetween(String value1, String value2) {
            addCriterion("id_front between", value1, value2, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdFrontNotBetween(String value1, String value2) {
            addCriterion("id_front not between", value1, value2, "idFront");
            return (Criteria) this;
        }

        public Criteria andIdBackIsNull() {
            addCriterion("id_back is null");
            return (Criteria) this;
        }

        public Criteria andIdBackIsNotNull() {
            addCriterion("id_back is not null");
            return (Criteria) this;
        }

        public Criteria andIdBackEqualTo(String value) {
            addCriterion("id_back =", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackNotEqualTo(String value) {
            addCriterion("id_back <>", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackGreaterThan(String value) {
            addCriterion("id_back >", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackGreaterThanOrEqualTo(String value) {
            addCriterion("id_back >=", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackLessThan(String value) {
            addCriterion("id_back <", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackLessThanOrEqualTo(String value) {
            addCriterion("id_back <=", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackLike(String value) {
            addCriterion("id_back like", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackNotLike(String value) {
            addCriterion("id_back not like", value, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackIn(List<String> values) {
            addCriterion("id_back in", values, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackNotIn(List<String> values) {
            addCriterion("id_back not in", values, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackBetween(String value1, String value2) {
            addCriterion("id_back between", value1, value2, "idBack");
            return (Criteria) this;
        }

        public Criteria andIdBackNotBetween(String value1, String value2) {
            addCriterion("id_back not between", value1, value2, "idBack");
            return (Criteria) this;
        }

        public Criteria andVideoInfoIsNull() {
            addCriterion("video_info is null");
            return (Criteria) this;
        }

        public Criteria andVideoInfoIsNotNull() {
            addCriterion("video_info is not null");
            return (Criteria) this;
        }

        public Criteria andVideoInfoEqualTo(String value) {
            addCriterion("video_info =", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoNotEqualTo(String value) {
            addCriterion("video_info <>", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoGreaterThan(String value) {
            addCriterion("video_info >", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoGreaterThanOrEqualTo(String value) {
            addCriterion("video_info >=", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoLessThan(String value) {
            addCriterion("video_info <", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoLessThanOrEqualTo(String value) {
            addCriterion("video_info <=", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoLike(String value) {
            addCriterion("video_info like", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoNotLike(String value) {
            addCriterion("video_info not like", value, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoIn(List<String> values) {
            addCriterion("video_info in", values, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoNotIn(List<String> values) {
            addCriterion("video_info not in", values, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoBetween(String value1, String value2) {
            addCriterion("video_info between", value1, value2, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andVideoInfoNotBetween(String value1, String value2) {
            addCriterion("video_info not between", value1, value2, "videoInfo");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgIsNull() {
            addCriterion("fingerprint_img is null");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgIsNotNull() {
            addCriterion("fingerprint_img is not null");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgEqualTo(String value) {
            addCriterion("fingerprint_img =", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgNotEqualTo(String value) {
            addCriterion("fingerprint_img <>", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgGreaterThan(String value) {
            addCriterion("fingerprint_img >", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgGreaterThanOrEqualTo(String value) {
            addCriterion("fingerprint_img >=", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgLessThan(String value) {
            addCriterion("fingerprint_img <", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgLessThanOrEqualTo(String value) {
            addCriterion("fingerprint_img <=", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgLike(String value) {
            addCriterion("fingerprint_img like", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgNotLike(String value) {
            addCriterion("fingerprint_img not like", value, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgIn(List<String> values) {
            addCriterion("fingerprint_img in", values, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgNotIn(List<String> values) {
            addCriterion("fingerprint_img not in", values, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgBetween(String value1, String value2) {
            addCriterion("fingerprint_img between", value1, value2, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintImgNotBetween(String value1, String value2) {
            addCriterion("fingerprint_img not between", value1, value2, "fingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyIsNull() {
            addCriterion("fingerprint_verify is null");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyIsNotNull() {
            addCriterion("fingerprint_verify is not null");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyEqualTo(String value) {
            addCriterion("fingerprint_verify =", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyNotEqualTo(String value) {
            addCriterion("fingerprint_verify <>", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyGreaterThan(String value) {
            addCriterion("fingerprint_verify >", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyGreaterThanOrEqualTo(String value) {
            addCriterion("fingerprint_verify >=", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyLessThan(String value) {
            addCriterion("fingerprint_verify <", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyLessThanOrEqualTo(String value) {
            addCriterion("fingerprint_verify <=", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyLike(String value) {
            addCriterion("fingerprint_verify like", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyNotLike(String value) {
            addCriterion("fingerprint_verify not like", value, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyIn(List<String> values) {
            addCriterion("fingerprint_verify in", values, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyNotIn(List<String> values) {
            addCriterion("fingerprint_verify not in", values, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyBetween(String value1, String value2) {
            addCriterion("fingerprint_verify between", value1, value2, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andFingerprintVerifyNotBetween(String value1, String value2) {
            addCriterion("fingerprint_verify not between", value1, value2, "fingerprintVerify");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(Long value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(Long value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(Long value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(Long value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(Long value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<Long> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<Long> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(Long value1, Long value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(Long value1, Long value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Long value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Long value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Long value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Long value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Long> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Long> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Long value1, Long value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Long value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Long value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Long value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Long value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Long value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Long> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Long> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Long value1, Long value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Long value1, Long value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}